package com.sky.service;

import com.sky.dto.SeckillVoucherDTO;
import com.sky.entity.SeckillVoucher;
import com.sky.result.PageResult;

/**
 * @Author: invictusQAQ
 * @Date: 2023-09-06-16:15
 * @Description:
 */
public interface VoucherService {

    /**
     * 新增秒杀券
     * @param voucher
     * @return void
     **/
    void addSeckillVoucher(SeckillVoucher voucher);

    /**
     * 秒杀券分页查询
     * @param seckillVoucherDTO
     * @return PageResult
     **/
    PageResult pageQuery(SeckillVoucherDTO seckillVoucherDTO);
}
